AddSimPostInit(function(inst)
	-- if GetWorld().prefab ~= "cave" then
	-- 	SpawnPrefab("cave_entrance").Transform:SetPosition(inst:GetPosition():Get())
	-- end

	inst.components.locomotor.runspeed = 30

	for i,node in ipairs(GetWorld().topology.nodes)do
		local mark = SpawnPrefab("node_mark")
		mark.Transform:SetPosition( node.x, 0, node.y )
		mark:SetType(node.type)
	end

	-- c_give("minerhat")
	-- c_give("hambat")
	
end)